package org.example.myleet.p502;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(4 == solution.findMaximizedCapital(2, 0, new int[]{1,2,3}, new int[]{0,1,1}));
        Assert.isTrue(6 == solution.findMaximizedCapital(3, 0, new int[]{1,2,3}, new int[]{0,1,2}));
        Assert.isTrue(9 == solution.findMaximizedCapital(3, 0, new int[]{1,2,3,4,4,4}, new int[]{0,1,2,1,1,1}));
    }
}
